package com.example.start.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String name;

    private String sex;

    private String phone;

    private int age;

    private String city;


}
